package com.onlineexam.mapper;

import com.onlineexam.bean.XuanZe;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface XuanZeMapper {
    //选择题列表
    @Select("select b.*,xuanze_id as 'xuanzeId',createdby as 'createdBy',create_time as 'createTime' from xuanze b order by create_time desc;")
    List<XuanZe> list();

}
